﻿@model HandleErrorInfo

@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>Blank Page - Ace Admin</title>

		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />

		<!--basic styles-->

		<link href="~/Content/Ace/assets/css/bootstrap.min.css" rel="stylesheet" />
		<link href="~/Content/Ace/assets/css/bootstrap-responsive.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="~/Content/Ace/assets/css/font-awesome.min.css" />

		<!--[if IE 7]>
		  <link rel="stylesheet" href="~/Content/Ace/assets/css/font-awesome-ie7.min.css" />
		<![endif]-->

		<!--page specific plugin styles-->

		<!--fonts-->

		<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />

		<!--ace styles-->

		<link rel="stylesheet" href="~/Content/Ace/assets/css/ace.min.css" />
		<link rel="stylesheet" href="~/Content/Ace/assets/css/ace-responsive.min.css" />
		<link rel="stylesheet" href="~/Content/Ace/assets/css/ace-skins.min.css" />

		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="~/Content/Ace/assets/css/ace-ie.min.css" />
		<![endif]-->

		<!--inline styles if any-->
	</head>

    <body>

						<div class="error-container">
							<div class="well">
								<h1 class="grey lighter smaller">
									<span class="blue bigger-125">
										<i class="icon-random"></i>
										500
									</span>
									Something Went Wrong
								</h1>

								<hr />
								<h3 class="lighter smaller">
									But we are working
									<i class="icon-wrench icon-animated-wrench bigger-125"></i>
									on it!
								</h3>

								<div class="space"></div>

								<div>
									<h4 class="lighter smaller">Meanwhile, try one of the following:</h4>

									<ul class="unstyled spaced inline bigger-110">
										<li>
											<i class="icon-hand-right blue"></i>
											Read the faq
										</li>

										<li>
											<i class="icon-hand-right blue"></i>
											Give us more info on how this specific error occurred!
										</li>
									</ul>
								</div>

								<hr />
								<div class="space"></div>

								<div class="row-fluid">
									<div class="center">
										<a href="#" class="btn btn-grey">
											<i class="icon-arrow-left"></i>
											Go Back
										</a>

										<a href="#" class="btn btn-primary">
											<i class="icon-dashboard"></i>
											Dashboard
										</a>
									</div>
								</div>
							</div>
						</div>
         
                @if (Model != null && HttpContext.Current.IsDebuggingEnabled)
                {
                    <div>  
                        <div class="list-sfs-holder">
                            <div class="alert alert-error">
                                An unexpected error has occurred. Please contact the system administrator.</div>
                            <div>
                                <p>
                                    <b>Exception:</b> @Model.Exception.Message<br />
                                    <b>Controller:</b> @Model.ControllerName<br />
                                    <b>Action:</b> @Model.ActionName
                                </p>
                                <div style="overflow:scroll">
                                    <pre>
            @Model.Exception.StackTrace
                            </pre>
                                </div>
                            </div>
                
                        </div>
                    </div>
                }
        <!--basic scripts-->

        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
        <script type="text/javascript">
            window.jQuery || document.write("<script src='Content/Ace/assets/js/jquery-1.9.1.min.js'>" + "<" + "/script>");
        </script>
        <script src="~/Content/Ace/assets/js/bootstrap.min.js"></script>

        <!--page specific plugin scripts-->

        <!--ace scripts-->

        <script src="~/Content/Ace/assets/js/ace-elements.min.js"></script>
        <script src="~/Content/Ace/assets/js/ace.min.js"></script>

        <!--inline scripts related to this page-->
    </body>
</html>
